# -*- coding: utf-8 -*-
# @Time    : 2024/12/25 下午5:11
# @Author  : ysj
# @FileName: demo_onnx.py
# @Software: PyCharm
# @Blog    ：https://blog.csdn.net/ydscc?type=blog
import onnx

model = onnx.load("simplified_model.onnx")
onnx.checker.check_model(model)

# Print all the node names in the model
for node in model.graph.node:
    print(node.name)
